#include <stdio.h>
int main()
{
    int c=0,m;
    double i=0.01,sum=0;
    scanf("%d",&m);
    do
    {
        sum=sum+i;
        i=2*i;
        c++;
    }while(sum<=c*m);
    printf("%d",c);
    return 0;
}
